<template>
  <view class="view_content">
    <text v-if="isNull">{{ textNull }}</text>
    <view v-else>
      <text v-if="loadMore">
        {{ textLoadMore }}
      </text>
      <text v-if="noMore">
        {{ textNoMore }}
      </text>
    </view>
  </view>
</template>

<script>
export default {
  props: {
    isNull: {
      type: Boolean,
      default: false
    },
    textNull: {
      type: String,
      default: '这里空空如也...'
    },
    loadMore: {
      type: Boolean,
      default: false
    },
    textLoadMore: {
      type: String,
      default: '上拉加载更多'
    },
    noMore: {
      type: Boolean,
      default: false
    },
    textNoMore: {
      type: String,
      default: '没有更多了'
    }
  },
  data() {
    return {
				
    }
  }
}
</script>

<style scoped> 
	.view_content{    
		width: 100%;
		margin: auto;
		font-size: 12px;
		text-align: center;
		margin-top: 5px;
		color: gray;
	}
</style>
